#Method Resolution Order (MRO)
#http://www.programiz.com/python-programming/multiple-inheritance

#example 1
class Base1:
    pass

class Base2:
    pass

class MultiDerived(Base1, Base2):
    pass

print (MultiDerived.__mro__)
print (MultiDerived.mro())

#example 2
class X: pass
class Y: pass
class Z: pass

class A(X,Y): pass
class B(Y,Z): pass

class M(B,A,Z): pass

print(M.mro())
